<select name="{{ $inputName }}" id="{{ get_value($config, 'id', '') }}" class="{{ get_value($config, 'class', 'form-control') }}">
    @foreach($list as $key=>$value)
        <option value="{{ $key }}" @if($key == $inputValue) selected @endif >{{ $value }}</option>
    @endforeach
</select>